package designPatterns.P11_代理模式_Proxy.静态代理;

public class Proxy implements Rent {
    private Host host;

    public Proxy(Host host) {
        this.host = host;
    }

    @Override
    public void rent() {
        see();
        host.rent();
    }

    public void see() {
        System.out.println("带租客看房子");
    }
}
